<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML>
<html>
  <head>
   
    <title>My JSP 'login.jsp' starting page</title>
    
  </head>
  
  <body>
  	<div>
    	<h2>登录图书管理系统</h2>
    	<form action="login" method="post">
    		<table border="1" style="width:400px">
    			<tr>
    				<td>用户名:</td>
    				<td><input type="text" name="name"/></td>
    			</tr>
    			<tr>
    				<td>密   码:</td>
    				<td><input type="password" name="password"/></td>
    			</tr>
    			<tr>
    				<td colspan="2"><input type="submit" value="登录"/></td>    				
    			</tr>
    			<tr>
    				<td colspan="2" style="color: red">${msg}</td>
    			</tr>
    		</table>
    	</form>
    </div>
  </body>
</html>
